package com.heima.model.user.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@TableName("ap_user_follow")
public class ApUserFollow {
    /**
     * 主键
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 用户ID
     */
    @TableField("user_id")
    private Integer userId;
    /**
     * 关注作者ID
     */
    @TableField("follow_id")
    private Integer followId;
    /**
     * 粉丝昵称
     */
    @TableField("follow_name")
    private String followName;
    /**
     * 关注度
     */
    @TableField("level")
    private Integer level;
    /**
     * 是否动态通知
     */
    @TableField("is_notice")
    private Integer isNotice;
    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createTime;
}
